//
//  VertexArray.hpp
//  LearnOpenGL
//
//  Created by Mr.Optimist on 2022/2/10.
//

#pragma once
#include <stdio.h>
#include "VertexBuffer.hpp"
//#include "VertexBufferLayout.hpp"

class VertexBufferLayout;

class VertexArray {
private:
    unsigned int m_RendererID;
public:
    VertexArray();

    ~VertexArray();

    void AddBuffer(const VertexBuffer &vb, const VertexBufferLayout &layout);

    void Bind() const;

    void UnBind() const;
};